﻿using System;
using QLC.Modules.SCHEDULE.Components;
using ASPNETVN.PORTAL.Components.UI;

namespace QLC.Modules.SCHEDULE.Controls
{
    public partial class ItemDetail : ItemControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack == false)
            {
                Item item = Item.Load(this.ItemID);
                if (item != null)
                {
                    lblTitle.Text = item.Title;
                    lblDescription.Text = Server.HtmlDecode(item.Description);
                }
            }
        }
    }
}